package com.gewu.bluetoothflow

import android.app.Application
import android.content.Intent
import android.provider.Settings
import android.util.Log
import com.eciot.ble_demo_kotlin.ECBLE
import com.gewu.bluetoothflow.bean.BleDeviceInfo
import com.gewu.bluetoothflow.bean.DeviceInfo
import com.gewu.core.db.GewuDataBaseUtils
import com.google.gson.Gson
import pub.devrel.easypermissions.AppSettingsDialog
import java.util.*


class MyApp :Application() {

    override fun onCreate() {
        super.onCreate()
        GewuDataBaseUtils.getInstance(this)
    }

    companion object{
        val ACTION_SEND_DATA = "com.gewu.bluetoothflow.service.DataRefreshReceiver"
        val EXTRA_DATA = "DATA"
        val FILE_SELECT_CODE = 10
    }

}